package keye.document_manage.util;

import java.io.File;

public class MyConstants {
	
	private static String sqliteDBPath;
	public static final String PROPERTIES_PATH="."+File.separator+"src"+File.separator+"main"+File.separator+"resources"+File.separator;
	public static final String PICTURE_PATH="."+File.separator+"src"+File.separator+"main"+File.separator+"resources"+File.separator+"picture"+File.separator;

	//打包时更改
	//public static final String PICTURE_PATH="."+File.separator+"config"+File.separator+"picture"+File.separator;
	
	private MyConstants(){}

	public static String getSqliteDBPath() {
		return sqliteDBPath;
	}

	public static void setSqliteDBPath(String sqliteDBPath) {
		MyConstants.sqliteDBPath = sqliteDBPath.replaceFirst("jdbc:sqlite:", "");
	}

}
